home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 20
/
Aminet 20 (1997)(GTI - Schatztruhe)[!][Aug 1997].iso
/
Aminet
/
comm
/
www
/
HTP.lha
/
HTP
/
source
/
msg.h
< prev
next >
Wrap
C/C++ Source or Header
|
1997-06-21
|
958b
|
49 lines
/*
//
// msg.h
//
// Copyright (c) 1995-96 Jim Nelson. Permission to distribute
// granted by the author. No warranties are made on the fitness of this
// source code.
// Amiga version - 1997 - Geert Bevin
//
*/
#ifndef MSG_H
#define MSG_H
#include <exec/types.h>
/*
// message severity levels
*/
#define MSG_ERROR (2)
#define MSG_WARNING (1)
#define MSG_INFO (0)
/*
// set the printable message level ... if the message being written
// does not meet the level, it is not printed
*/
void SetMessageSeverityLevel(uint level);
/*
// error/warning/info message display function
*/
#ifndef DUMB_MSG_PROTOTYPE
void HtpMsg(uint severityLevel, TEXTFILE *textFile, const char *format, ...);
#endif
/*
// debug message display, which also will dump to disk
*/
void DebugInit(const char *debugMsgFilename);
void DebugTerminate(void);
#ifndef DUMB_MSG_PROTOTYPE
void DebugMsg(const char *format, ...);
#endif
#endif